package com.haircut.project.dao.config;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.haircut.project.model.config.ProjectConfig;
import com.haircut.project.vo.config.ConfigReqVo;
import com.haircut.project.vo.config.ConfigResVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ProjectConfigMapper extends BaseMapper<ProjectConfig> {
    /**
     * 分页查询
     * @param pageReq
     * @param reqVo
     * @return
     */
    Page<ConfigResVo> findPage(IPage<?> pageReq, @Param("reqVo") ConfigReqVo reqVo);
}
